package com.lin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lin.pojo.SysUsers;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface SysUsersMapper extends BaseMapper<SysUsers> {
    SysUsers login(@Param("sysUsers") SysUsers sysUsers);

    public int addSysUsers(SysUsers users);

    public int delSysUsers(@Param("sys") int id);

    public int updateSysUsers(SysUsers users);

    public SysUsers querySysUsersbyid(@Param("id") int id);

    public List<SysUsers> querySysUsersbycond(SysUsers users);

}